﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Entity.DomainModels.QualityAssurance
{
    /// <summary>
    /// 来料检验表
    /// </summary>
    public class Incominginspection
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 来料检验单编号
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public string IncomingNumber { get; set; }

        /// <summary>
        /// 来料检验单名称
        /// </summary>
        public string IncomingName { get; set; }

        /// <summary>
        /// 供应商批次号
        /// </summary>
        public string SupplierBatch { get; set; }

        /// <summary>
        /// 供应商简称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 产品物料编码
        /// </summary>
        public string ProductCode { get; set; }

        /// <summary>
        /// 产品物料名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 接收数量
        /// </summary>
        public int ReceivedCount { get; set; }

        /// <summary>
        /// 检测数量
        /// </summary>
        public int InspectedCount { get; set; }

        /// <summary>
        /// 不合格数
        /// </summary>
        public int NonCoubt { get; set; }

        /// <summary>
        /// 检测结论
        /// </summary>
        public string InspectionConclusion { get; set; }

        /// <summary>
        /// 来料日期
        /// </summary>
        public DateTime IncomingTime { get; set; }

        /// <summary>
        /// 检测日期
        /// </summary>
        public DateTime InspectionTime { get; set; }

        /// <summary>
        /// 检测人员
        /// </summary>
        public string Inspectors { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int States { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 供应商编码
        /// </summary>
        public string SupplierCode { get; set; }

        /// <summary>
        /// 合格数
        /// </summary>
        public int Numberofpasses { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
